package org.micropayment.model.service;

import java.util.List;
import org.micropayment.model.Token;
import org.springframework.stereotype.Repository;

/**
 *
 * @author jj
 */
@Repository
public interface TokenDAO {

    public Token findById(String id);

    public List<Token> findAll();

    public List<Token> findList (int firstResult, int maxResults);

    public Token save(Token token) ;

    public Token update(Token token);

    public boolean delete(Token token) ;
    
}
